package com.cdl.pattern;

/**
 * @author cdl
 * @date 2025/10/6
 */
public class CookingFood extends Cooking {


    @Override
    public void step2() {
        System.out.println("step2");
    }

    @Override
    public void step1() {
        System.out.println("step1");
    }

    @Override
    public String toString() {
        return this.getClass().getSimpleName();
    }
}
